from django.db import models


# Create your models here.

class User(models.Model):
    username = models.CharField(max_length=100, verbose_name="username")
    password = models.CharField(max_length=100, verbose_name="password")
    name = models.CharField(max_length=100, verbose_name="name")
    phone = models.CharField(max_length=100, verbose_name="phone")
    role = models.BooleanField(verbose_name="role")

    class Meta:
        db_table = 'user'
        verbose_name = 'user'
        verbose_name_plural = verbose_name

